<% if @page.hasBreadcrumb == 1 %>
	<div id="breadcrumb" class="small">
		<h4 class="information">Path:</h4>
		<p><a href="#">home</a> | <a href="#"><%=h @page.categoryName %></a> </p>
	</div>
<% end %>

<% if @page.hasAutoTitle == 1 %>
	<h1><%=h @page.pageName %></h1>
	<br/>
<% end %>

<% if !@page.bigimages.nil? %>
	<% for image in @page.bigimages %>
		<%= image_tag image.public_filename %>
		<br/><br/>
	<% end %>
<% end %>

<% if !@page.images.nil? %>
	<% for image in @page.images %>
		<div id="<%= cycle("content-smbox-left", "content-smbox-right") %>">
				<%= image_tag image.public_filename %>
				<% if !image.caption.nil? %>
					<p><%= image.caption %></p>
				<% else %>
					<p>&nbsp;</p>
				<% end %>
		</div>
	<% end %>
	<br/>
	<br/>
<% end %>
	
	<% if !@page.HTMLContent.nil? %>
		<%=  RedCloth.new(@page.HTMLContent).to_html %>
	<% end %>
<br/>
